<html>

<head>
<title>Vocab app engine</title>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.2.3/dojo/dojo.xd.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">

	var onDojoLoad = function() {
		var data ={{ vocab.diagram }};
		var t = dojo.byId("diagram");
		t.innerHTML = dojo.toJson(data, true);
	}
	dojo.addOnLoad(onDojoLoad);

</script>
</head>

<body>

{{ user_text }} <a href="/html/">Home</a> | <a href="{{ url }}">{{ url_linktext }}</a>

<h1>Vocab</h1>
<pre id="diagram" style="height:300px; width:600px; overflow:auto; background-color: #ddd;"></pre> <br />
<br /><br />

<table border="1">
<tr>
    <th>name</th>
    <td>{{ vocab.name }}</td>
</tr>
<tr>
    <th>locked</th>
    <td>{% if vocab.locked %}True{% else %}False{% endif %}</td>
</tr>
<tr>
    <th>archived</th>
    <td>{% if vocab.archived %}True{% else %}False{% endif %}</td>
</tr>
<tr>
    <th>published</th>
    <td>{% if vocab.published %}True{% else %}False{% endif %}</td>
</tr>
<tr>
    <th>key</th>
    <td>{{ vocab.key }}</td>
</tr>
<tr>
    <th>author</th>
    <td>{{ vocab.author }}</td>
</tr>
<tr>
    <th>updated</th>
    <td>{{ vocab.updated }}</td>
</tr>
</table>

</body>
</html>
